<script>
  <%= remote_function_to_reload_stage_in_project_index @stage %>;
  <%= remote_function_to_reload_project_in_project_index @stage.project %>
  <%= remote_function_to_reload_project_stat_in_project_index %>
  $('stage_<%= @stage.id %>').className = 'stage <%= @stage.pay_status %>_stage';
</script>